<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<jsp:useBean id="GC_current_time" class="java.util.Date" />
<div class="page_top">
    <time><fmt:formatDate value="${GC_current_time}" type="both" dateStyle="long" pattern="yyyy-MM-dd" /></time>
    <span style="margin-left:10px;font-size:16px;color:#999;">商户号：${businessno}</span>
    <a id="GC_device_querybtn" style="display: none;" class="page_top_query" href="javascript:;">查询</a>
    <a id="GC_device_addbtn" style="display: none;" class="page_top_add" href="javascript:;">新增类型</a>
    <a id="GC_usermanager_querybtn"  style="display: none;" class="page_top_delete" href="javascript:;">删除</a>
    <a id="GC_usermanager_addbtn"  style="display: none;" class="page_top_add" href="javascript:;">新增</a>
    <a id="GC_systemuser_querybtn"  style="display: none;" class="page_top_message" href="javascript:;">消息</a>
    <a id="GC_systemuser_addbtn"  style="display: none;" class="page_top_add1" href="addsystemrole">新增</a>
    <a id="GC_businssuser_querybtn"  style="display: none;"  class="page_top_message" href="javascript:;">消息</a>
    <a id="GC_businssuser_addbtn"  style="display: none;" class="page_top_add" href="javascript:;">新增</a>
    <a id="GC_changemobile_querybtn"  style="display: none;" class="page_top_message" href="javascript:;">消息</a>
</div>
<script type="application/javascript">
    <%-- 显示当前界面中，需要显示的 a标签 --%>
    $("#"+$("body").attr("name")+"_querybtn").show();
    $("#"+$("body").attr("name")+"_addbtn").show();

    $("#GC_device_querybtn").click(function () {
        window.location.href = '${basePath}v2/factory/device/searchView';
    });
</script> 